package cate.game.chat.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBChat;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "我的上次聊天时间 の 返回")
public class MyLastChatTimeResp implements MsgOutput {

    @NoteField(value = "上次发言时间")
    public long lastChatTime;

    @NoteField("聊天发言次数")
    public int chatTimes;

    public MyLastChatTimeResp(){}

    public MyLastChatTimeResp(long lastChatTime, int chatTimes) {
        this.lastChatTime = lastChatTime;
        this.chatTimes = chatTimes;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBChat.LAST_CHAT_TIME_RESP;
    }
}
